# $Id: PKGBUILD 79741 2012-11-11 19:41:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=gtkdatabox
pkgver=0.9.2.0
pkgrel=1
pkgdesc="A widget for the Gtk+ library designed to display large amounts of numerical data"
arch=(i686 x86_64)
url="http://sourceforge.net/projects/gtkdatabox/"
license=("LGPL")
depends=('gtk2' 'libglade')
makedepends=('gtk-doc')
options=('!libtool' 'docs')
source=(http://downloads.sourceforge.net/project/gtkdatabox/gtkdatabox/$pkgver/gtkdatabox-$pkgver.tar.gz)
md5sums=('99c1fe9a918ee94e2b6f967cd22a6f5b')

build() {
  cd $srcdir/gtkdatabox-$pkgver
  export LDFLAGS=-lm
  ./configure --prefix=/usr \
    --enable-gtk-doc \
    --enable-gtk-doc-html \
    --enable-gtk-doc-pdf \
    --enable-libglade
  make
  make DESTDIR=$pkgdir install
}
